<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<div class="row" id="tabledata_wrapper">
	<div class="col-md-5 col-sm-12">
		<div class="dataTables_info" style="width: auto; top: 20px; margin-bottom: 20px;">
			第 <s:property value="paging.currentPage" /> 页，共 <s:property value="paging.pages" /> 页
		</div>
	</div>
	<s:if test="%{paging.pages > 1}">
	<div class="col-md-7 col-sm-12">
		<div class="dataTables_paginate paging_bootstrap">
			<ul class="pagination">
				<li class="prev <s:if test="%{paging.currentPage == 1}">disabled</s:if>"><a href="javascript:;" title="Prev" onclick="change(<s:property value="%{paging.currentPage - 1}"/>)" ><i class="icon-angle-left"></i></a></li>
				<s:iterator value="displayPages" id="item">
				<li <s:if test="%{paging.currentPage == #item}">class="active"</s:if>><a href="javascript:;" onclick="change(<s:property />)"><s:property /></a></li>
				</s:iterator>
				<li class="next <s:if test="%{paging.currentPage == paging.pages}">disabled</s:if>"><a href="javascript:;" title="Next" onclick="change(<s:property value="%{paging.currentPage + 1}"/>)"><i class="icon-angle-right"></i></a></li>
			</ul>
		</div>
	</div>
	</s:if>
</div>
<script >
$("#_page").val("1");
</script>

